package com.qf.cs2203Spring07.service;

import com.qf.cs2203Spring07.aop.anno.Retry;
import com.qf.cs2203Spring07.common.AppException;
import com.qf.cs2203Spring07.entity.Account;

import java.math.BigDecimal;
import java.sql.SQLException;

public interface AccountService {

    public Account queryById(String id, String password) throws SQLException;

    public Integer getMoney(String id, BigDecimal money) throws Exception;
}
